<?php
declare (strict_types = 1);

namespace app\controller;

use think\facade\View;

class Chat
{
    public function index(){

        $fromid = input("fromid");
        $toid = input("toid");
        return View::fetch('chat/index',[
            'fromid' => $fromid,
            'toid' => $toid
        ]);
    }

    public function lists(){

        $fromid = input("fromid");
        return View::fetch('chat/lists',[
            'fromid' => $fromid,
        ]);
    }
}
